package com.maiworld.mapper;

import com.maiworld.pojo.TbNewtable;
import com.maiworld.pojo.TbNewtableExample;
import com.maiworld.pojo.TbStudent;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewtableMapper {
    int countByExample(TbNewtableExample example);

    int deleteByExample(TbNewtableExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbNewtable record);

    int insertSelective(TbNewtable record);

    List<TbNewtable> selectByExample(TbNewtableExample example);

    TbNewtable selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbNewtable record, @Param("example") TbNewtableExample example);

    int updateByExample(@Param("record") TbNewtable record, @Param("example") TbNewtableExample example);

    int updateByPrimaryKeySelective(TbNewtable record);

    int updateByPrimaryKey(TbNewtable record);
    
    List<TbNewtable> selectByType(TbNewtable tbNewtable);
    
    Long selectNewId(Long id);
}